package com.cngphone.AnFetion;

import android.content.Context;
import android.content.pm.PackageManager.NameNotFoundException;

public class FetionUpdater {
	public static void Initliaze(Context ctx) throws NameNotFoundException
	{
		/*
		SQLiteDatabase db = ctx.openOrCreateDatabase("AnFetion", 1, null);
    	db.execSQL("CREATE TABLE IF NOT EXISTS anfetion_version (vercode int,description varchar,installtime datetime);");
    	
    	Cursor c = db.rawQuery("SELECT TOP 1 vercode FROM anfetion_version ORDER BY vercode DESC",null);
    	if(c != null && c.isFirst())
    	{
    		PackageInfo pi = ctx.getPackageManager().getPackageInfo("com.cngphone.Anfetion", 0);
    		
    		//ctx.getPackageManager().
    	}*/
	}
}
